//----------------------------------------------------------------------------
// View 'Info'
//----------------------------------------------------------------------------
var btnVersie = Titanium.UI.createButton({
   title : 'Versie'
});
btnVersie.addEventListener('click', function(e) {
   var dialogVersieInfo = Ti.UI.createAlertDialog({
      message : 'Heerderhof app versie ' +VERSION +' voor IOS',
      ok : 'OK',
      title : 'Versie informatie'
   }).show();
});


//----- Views
var viewInfo = Ti.UI.createScrollView({
   contentWidth : 'auto',
   contentHeight : 'auto',
   showVerticalScrollIndicator : true,
   showHorizontalScrollIndicator : true
});


var viewInfoContent = Ti.UI.createView({
   top: '10',
   width: '90%',
   backgroundColor : wit,
   opacity: '0.8',
   borderRadius : '3',
   borderColor : middenblauw
});
if (isIpad()) {
   viewInfoContent.setHeight(500);
}

viewInfoContent.add(Titanium.UI.createLabel({
   top : '5',
   left : '10',
   right : '10',
   text : T_HOME_INFO_UITLEG,
   textAlign : Ti.UI.TEXT_ALIGNMENT_LEFT,
   font : {
      fontSize : 12,
      fontWeight : 'bold',
      fontFamily : customFont
   },
   color : middenblauw
}));

var navbtnBackInfo = Titanium.UI.createButton({
   title : 'Terug'
});
navbtnBackInfo.addEventListener('click', function(e){
   showHomeView('INFO');
});

viewInfo.add(viewInfoContent);

